shopt -s expand_aliases

source ~/.profile

echo -e "\n\n-------------------------------------------------- building start --------------------------------------------------\n\n"
echo "<p class=time-tips> <b> $2 </b> 开始构建 SRM prod组件包 start: $(date +"%Y-%m-%d %H:%M:%S")</p>"

t1=`date +%s`
# autolib dev && autolib uat
# prodmblib

autolib $1 master

# mklib dev
t2=`date +%s`
echo "<div class=reuslt-tips>构建用时：$(expr $t2 - $t1)S</div>"

echo "<div class=time-tips><b> $2 </b>完成 SRM prod组件包构建！ end: $(date +"%Y-%m-%d %H:%M:%S")</div>"

